Skip to contentSkip to conversation

RX480: HDMI display unavailable with amdgpu.dc=1, boot error drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1721

Bug 108100 [email protected] 1 participant 11 messages Sep 29, 2018 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=108100

            Bug ID: 108100
           Summary: RX480: HDMI display unavailable with amdgpu.dc=1, boot
                    error
                    drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resou
                    rce.c:1721
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 141796
--> https://bugs.freedesktop.org/attachment.cgi?id=141796&action=edit
dmesg-4.18.8

I have just upgraded my kernel on openSUSE Tumbleweed from 4.17.14 to 4.18.8 and my display that is a Panasonic 4K/UHD TV (TX-55CX400E) is not detected anymore and not available after boot. I have to pass amdgpu.dc=0 kernel paramater to get it available again.

If I check dmesg I can see a lot of lines like the following repeated:

[  195.633367] WARNING: CPU: 0 PID: 1979 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1721
dc_validate_stream+0xd5/0x100 [amdgpu]
[  195.633368] Modules linked in: fuse ccm af_packet iscsi_ibft

iscsi_boot_sysfs bluetooth ecdh_generic msr nct6775 hwmon_vid intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm nls_iso8859_1 nls_cp437 vfat fat irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel arc4 iTCO_wdt eeepc_wmi asus_wmi aes_x86_64 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi iTCO_vendor_support mxm_wmi mt7601u sparse_keymap wmi_bmof snd_hda_intel mac80211 snd_hda_codec crypto_simd cryptd pcspkr snd_hda_core joydev glue_helper cfg80211 rfkill snd_hwdep snd_pcm snd_timer snd fan soundcore e1000e ptp pps_core wmi thermal mei_me pcc_cpufreq video i2c_i801 mei button acpi_pad btrfs libcrc32c xor zstd_decompress zstd_compress xxhash hid_logitech_hidpp hid_logitech_dj hid_generic

[  195.633403]  usbhid raid6_pq amdkfd amd_iommu_v2 amdgpu crc32c_intel sr_mod
cdrom chash i2c_algo_bit gpu_sched drm_kms_helper syscopyarea sysfillrect
sysimgblt fb_sys_fops xhci_pci xhci_hcd ttm drm usbcore sg dm_multipath dm_mod
scsi_dh_rdac scsi_dh_emc scsi_dh_alua efivarfs
[  195.633418] CPU: 0 PID: 1979 Comm: X Tainted: G        W        
4.18.8-1-default #1 openSUSE Tumbleweed (unreleased)
[  195.633418] Hardware name: System manufacturer System Product Name/H170 PRO
GAMING, BIOS 3805 05/16/2018
[  195.633459] RIP: 0010:dc_validate_stream+0xd5/0x100 [amdgpu]
[  195.633461] Code: aa aa c1 e2 04 89 d0 f7 e1 c1 ea 04 89 93 68 02 00 00 e9
74 ff ff ff 5b b8 06 00 00 00 5d 41 5c c3 d1 ea eb c1 83 f9 02 74 e2 <0f> 0b 89
c2 eb dc 6b d2 1e b9 ab aa aa aa 89 d0 f7 e1 c1 ea 04 eb 
[  195.633490] RSP: 0018:ffffb004c8fbbb78 EFLAGS: 00010297
[  195.633491] RAX: 0000000000091050 RBX: ffff97358c10f400 RCX:
0000000000000005
[  195.633492] RDX: 0000000000091050 RSI: ffff97358c10f400 RDI:
ffff9735915a0080
[  195.633493] RBP: ffff97353c118e00 R08: 0000000000000000 R09:
00000000000004b0
[  195.633494] R10: ffff97358c10f400 R11: 0000000000000780 R12:
ffff97358fe1b600
[  195.633495] R13: ffff972f0cd88a10 R14: 0000000000000000 R15:
ffff972f0cd88800
[  195.633496] FS:  00007fcb3d8ab940(0000) GS:ffff9735b6c00000(0000)
knlGS:0000000000000000
[  195.633497] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  195.633498] CR2: 000056287912f3b8 CR3: 00000007ee834005 CR4:
00000000003606f0
[  195.633499] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[  195.633500] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[  195.633500] Call Trace:
[  195.633545]  amdgpu_dm_connector_mode_valid+0x6d/0x1d0 [amdgpu]
[  195.633551]  drm_helper_probe_single_connector_modes+0x47f/0x690
[drm_kms_helper]
[  195.633565]  drm_mode_getconnector+0x3af/0x3d0 [drm]
[  195.633577]  ? drm_mode_connector_property_set_ioctl+0x30/0x30 [drm]
[  195.633586]  drm_ioctl_kernel+0x81/0xd0 [drm]
[  195.633595]  drm_ioctl+0x1da/0x360 [drm]
[  195.633604]  ? drm_mode_connector_property_set_ioctl+0x30/0x30 [drm]
[  195.633633]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[  195.633636]  do_vfs_ioctl+0x90/0x5e0
[  195.633638]  ? __fget+0x6e/0xa0
[  195.633641]  ksys_ioctl+0x60/0x90
[  195.633644]  __x64_sys_ioctl+0x16/0x20
[  195.633646]  do_syscall_64+0x60/0x110
[  195.633649]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
[  195.633650] RIP: 0033:0x7fcb3c27baa7
[  195.633650] Code: 00 00 90 48 8b 05 f1 83 2c 00 64 c7 00 26 00 00 00 48 c7
c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d c1 83 2c 00 f7 d8 64 89 01 48 
[  195.633679] RSP: 002b:00007ffff09eb918 EFLAGS: 00003246 ORIG_RAX:
0000000000000010
[  195.633682] RAX: ffffffffffffffda RBX: 00005575382a36c0 RCX:
00007fcb3c27baa7
[  195.633683] RDX: 00007ffff09eb950 RSI: 00000000c05064a7 RDI:
000000000000000d
[  195.633683] RBP: 00007ffff09eb950 R08: 00005575382a2ac0 R09:
0000000000000007
[  195.633684] R10: 00007fcb3c2dee90 R11: 0000000000003246 R12:
00000000c05064a7
[  195.633685] R13: 000000000000000d R14: 000000000000000d R15:
00007ffff09eb950
[  195.633688] ---[ end trace a58eb9c235a952c1 ]---

I also have another LCD monitor (Samsung SyncMaster 215TW) connected via DVI to the MSI Radeon RX 480 Gaming X 8G graphics card and that one works just fine.

I tried older kernels and it looks like the problem is here since 4.18.0.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=108100

--- Comment #1 from Jure Repinc <[email protected]> --- Created attachment 141797
--> https://bugs.freedesktop.org/attachment.cgi?id=141797&action=edit
dmesg-4.17.14

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108100

--- Comment #2 from Jure Repinc <[email protected]> --- Created attachment 141798
--> https://bugs.freedesktop.org/attachment.cgi?id=141798&action=edit
lspci

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108100

--- Comment #3 from Jure Repinc <[email protected]> --- Created attachment 141799
--> https://bugs.freedesktop.org/attachment.cgi?id=141799&action=edit
dmidecode

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 108100] RX480: HDMI display unavailable with amdgpu.dc=1, boot error drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1721 dc_validate_stream+0xd5/0x100

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108100

Jure Repinc <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|RX480: HDMI display         |RX480: HDMI display
                   |unavailable with            |unavailable with
                   |amdgpu.dc=1, boot error     |amdgpu.dc=1, boot error
                   |drivers/gpu/drm/amd/amdgpu/ |drivers/gpu/drm/amd/amdgpu/
                   |../display/dc/core/dc_resou |../display/dc/core/dc_resou
                   |rce.c:1721                  |rce.c:1721
                   |                            |dc_validate_stream+0xd5/0x1
                   |                            |00
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 108100] RX480: HDMI display unavailable with amdgpu.dc=1, boot error drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1721 dc_validate_stream+0xd5/0x100

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108100

--- Comment #4 from Jure Repinc <[email protected]> --- Created attachment 141922
--> https://bugs.freedesktop.org/attachment.cgi?id=141922&action=edit
dmesg-4.18.9

dmesg on Linux 4.18.9, now with amdgpu.dc_log=1 that I just found out about

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 108100] RX480: HDMI display unavailable with amdgpu.dc=1, boot error drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1721 dc_validate_stream+0xd5/0x100

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108100

--- Comment #5 from Jure Repinc <[email protected]> ---
I just upgraded to Linux kernel 4.19.1 and the problem is still present.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 108100] RX480: HDMI display unavailable with amdgpu.dc=1, boot error drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1721 dc_validate_stream+0xd5/0x100

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108100

--- Comment #6 from Jure Repinc <[email protected]> ---
Is there any other info I should provide so you can start fixing this bug?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 108100] RX480: HDMI display unavailable with amdgpu.dc=1, boot error drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1721 dc_validate_stream+0xd5/0x100

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108100

--- Comment #7 from Nicholas Kazlauskas <[email protected]> --- (In reply to Jure Repinc from comment #6)

Quoted 1 line

Is there any other info I should provide so you can start fixing this bug?

Do you use X? Do you mind posting an xorg log?

It would help to have one from a session where you booted with amdgpu.dc=0.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 108100] RX480: HDMI display unavailable with amdgpu.dc=1, boot error drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1721 dc_validate_stream+0xd5/0x100

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108100

--- Comment #8 from Jure Repinc <[email protected]> --- Created attachment 142738
--> https://bugs.freedesktop.org/attachment.cgi?id=142738&action=edit
Xorg.0.log

Xorg.0.log from Linux kernel 4.19.4

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 108100] RX480: HDMI display unavailable with amdgpu.dc=1, boot error drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1721 dc_validate_stream+0xd5/0x100

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108100

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #9 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/543.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel